<?php
include_once("include/include.php.inc");

list($status, $user) = auth_get_status();
?>
<html>
<head>
</head>
<body>

<?php
if($status == AUTH_LOGGED){
	if(auth_logout()){
		echo '<br/><br/><div align="center"><h2>You are now disconnected</h2></div>';
	}else{
		echo '<div align="center">There was an error during the operation</div>';
	}
}else{
	echo '<div align="center">You are not connected</div>';
}
?>
</body></html>
